package com.cskaoyan.mapper;

import com.cskaoyan.bean.entity.WxCouponUser;
import com.cskaoyan.bean.entity.WxCouponUserExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Auther Wenjian_Yang
 * @Date 2021/10/25
 */
public interface WxCouponUserMapper {
    long countByExample(WxCouponUserExample example);

    int deleteByExample(WxCouponUserExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WxCouponUser record);

    int insertSelective(WxCouponUser record);

    List<WxCouponUser> selectByExample(WxCouponUserExample example);

    WxCouponUser selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WxCouponUser record, @Param("example") WxCouponUserExample example);

    int updateByExample(@Param("record") WxCouponUser record, @Param("example") WxCouponUserExample example);

    int updateByPrimaryKeySelective(WxCouponUser record);

    int updateByPrimaryKey(WxCouponUser record);
}
